<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
{block name="seo"}
{include file="public/seo" /}
{/block}
<link href="__STATIC__/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="__STATIC__/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="__STATIC__/bootstrap/css/docs.css" rel="stylesheet">
<link href="__STATIC__/bootstrap/css/onethink.css" rel="stylesheet">

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="__STATIC__/bootstrap/js/html5shiv.js"></script>
<![endif]-->
{block name="style"}{/block}
<!--[if lt IE 9]>
<script type="text/javascript" src="__STATIC__/js/jquery-1.10.2.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script type="text/javascript" src="__STATIC__/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
<!--<![endif]-->
<!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->
{php}
Hook::listen('pageHeader');
{/php}
</head>
<body>
	<!-- 头部 -->
	{include file="public/header"/}
	<!-- /头部 -->
	
	<!-- 主体 -->
	{block name="header"}{/block}
	<div id="main-container" class="container">
		<div class="row">
			{block name="side"}
			<!-- 左侧 nav
	   ================================================== -->
	   <div class="span3 bs-docs-sidebar">
		   {block name="publish"}{/block}
		   <ul class="nav nav-list bs-docs-sidenav">
			   {:Widget('Category/lists', array(isset($category['id']) ? $category['id']: 0, $Request.action == 'index'))}
		   </ul>
	   </div>
	   {/block}
	   {block name="body"}{/block}
		</div>
	</div>

	<script type="text/javascript">
$(function(){
	$(window).resize(function(){
		$("#main-container").css("min-height", $(window).height() - 343);
	}).resize();
})
	</script>
	<!-- /主体 -->

	<!-- 底部 -->
	<!-- 底部
	 ================================================== -->
	 <footer class="footer">
		 <div class="container">
			 <p> 本站由 <strong><a href="http://www.heilphp.com" target="_blank">HeilPHP</a></strong> 强力驱动</p>
		 </div>
	 </footer>

	 {include file="public/var"/}
	 {block name="script"}{/block} <!-- 用于加载js代码 -->
	 <!-- 页面footer钩子，一般用于加载插件JS文件和JS代码 -->
	 {php}
	 Hook::listen('pageFooter','widget');
	 {/php}
	 <div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
		 {block name="hidden"}{/block}
	 </div>
	 <!-- /底部 -->
</body>
</html>
